import java.io.*;

public class Distancia{
	
	private double dist;

	public Distancia(Punto a,Punto b){

		dist=Math.sqrt(Math.pow(a.getx() - b.getx(),2)+Math.pow(a.gety() - b.gety(),2)+Math.pow(a.getz() - b.getz(),2));
		System.out.println("Distancia: "+dist);
		
	}
	public double getDist(){
		return dist;
	}
}

